package com.zt.rongda.constant;

import com.zt.constant.Constants;
import com.zt.util.PropertiesUtil;

/**
 * Created by Administrator on 2017/7/25.
 */
public class BusConstant extends Constants {

    public static final String SUPER_ADMIN_CODE = "1";


    public static final String LEADER_FLAG_LEADER = "1";
    public static final String LEADER_FLAG_MEMBER = "2";

    public static final String EMPTY_JSON = "{}";

    public static final String ATTACHMENT_PATH = PropertiesUtil.getProperty("attachment.path");

    public static final String AUDIT_TRUE = "同意";
    public static final String AUDIT_FALSE = "不同意";

    public static final String SUPER_USER_ID = "1";// 超级管理员

    public static final String REIMBURSE_BILL_AUDIT_KEY = "REIMBURSE_AUDIT";

    public static class BusStatus {
        public static final String NORMAL_RUN = "1"; //正常营运
        public static final String NOT_RUN = "0"; //报废
    }

    public static class Bus {
        public static final String BUS_TRANS_TYPE_INNER = "1"; //公司内异动

        public static final String BUS_TRANS_TYPE_COMPANY = "2"; // 公司间异动

        public static final String BUS_TRANS_TYPE_USING = "3";// 使用性质异动

        public static final String BUS_STATUS_TRUE = "1"; //正常营运

        public static final String BUS_STATUS_FALSE = "2"; //非营运
    }

    public static class EmployeeGroup {
        public static final String STATUS_ENABLE = "1"; //有效
        public static final String STATUS_DISABLED = "0"; //失效
    }

    public static class MaintenanceApply {
        public static final String MEDIA_TYPE_BUS = "1"; //车辆
        public static final String MEDIA_TYPE_STOP = "2"; //站点

        public static final String APPLY_STATUS_TO_DO = "1"; //未处理
        public static final String APPLY_STATUS_DOING = "2"; //处理中
        public static final String APPLY_STATUS_COMPLETE = "3"; //完成

        public static final String APPLY_QUERY_WORKER = "1"; //办理人列表查询
        public static final String APPLY_QUERY_FILE = "2"; //附件列表查询
        public static final String APPLY_QUERY_TASK_DETAILS = "3"; // 任务详情
    }
    
    public static class AddesignStatus{
        public static final String UN_FINISH = "0";
        public static final String FINISHED = "1";
    }

    public static class OrderStatus {
        public static final String UN_FINISH = "0";
        public static final String FINISHED = "1";
    }
    
    public static class WorkbillStatus {
        public static final String UN_DEAL = "0";
        public static final String DEALING = "1";
        public static final String FINISHED = "2";
    }

    public static class Workflow {
        public static final String STATUS_ENABLE = "1"; //有效
        public static final String STATUS_DISABLED = "0"; //失效

        public static final String WORKFLOW_CODE_MAINTENANCE = "maintenance";
        public static final String WORKFLOW_CODE_WORKBILL = "workbill";

    }

    public static class PickMaterial {
        public static final String STATUS_NOT_PICKING = "1";
        public static final String STATUS_PICKED = "2";
    }

    public static class TaskType {
        public static final String TASK_TYPE_CAITU = "1";
        public static final String TASK_TYPE_PRINT = "2";
        public static final String TASK_TYPE_FUMO = "3";
        public static final String TASK_TYPE_REPAIR = "4";
        public static final String TASK_TYPE_PUBLISH = "5";
    }

    public static class ReimburseBill {
        public static final String STATUS_UNCHECK = "1"; //未提交
        public static final String STATUS_APPLY = "2"; //已提交
        public static final String STATUS_CHECKED_TRUE = "3"; //审核通过
        public static final String STATUS_CHECKED_FALSE = "4"; //审核未通过


        public static final String TYPE_EAT = "1"; //餐饮
        public static final String TYPE_TRAFFIC = "2"; //交通
    }


    public static class Task {
        public static final String TASK_TYPE_MAINTENANCE = "1"; //维修单
        public static final String TASK_TYPE_WORKBILL = "2"; //工作单

        public static final String STATUS_NOT_COMPLETE = "1"; //未完成
        public static final String STATUS_COMPLETE = "2"; //完成
    }
    

    public static class WorkBillType {
        public static final String WORK_BILL_TYPE_MAKE = "1"; // 胶贴制作工单
        public static final String WORK_BILL_TYPE_PUBLISH = "2"; // 广告上刊工单
    }
    public static class QUOTA_CONFIG_TYPE {
    	public static final String QUOTA_CONFIG_TYPE_PUBLISH_BC = "1"; // 边车上刊
    	public static final String QUOTA_CONFIG_TYPE_PUBLISH_QC = "2"; // 全车上刊
    	public static final String QUOTA_CONFIG_TYPE_MAKE = "3"; // 胶贴制作工单
    }

    public static class MediaType {
        public static final String MEDIA_TYPE_BUS = "1";//车辆
        public static final String MEDIA_TYPE_SHELTER = "2"; // 候车亭
    }

}
